package com.snowy.hidden.biz.domain.resp;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务表(Task)表实体类
 *
 * @author cl
 * @since 2025-11-13 13:56:05
 */
@Data
public class TaskListResp implements Serializable {

    private String taskId;
    

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime; 
    
    @ApiModelProperty(value = "上报时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date reportTime; 
    
    @ApiModelProperty(value = "(任务结束)结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime; 
    
    @ApiModelProperty(value = "审批状态0=待分配 1=分管领导审核2=审核完成")
    private Integer approval;

    @ApiModelProperty(value = "审批状态0=待分配 1=分管领导审核2=审核完成")
    private String approvalStr;

    @ApiModelProperty(value = "当前位置")
    private String address; 
    
    @ApiModelProperty(value = "省")
    private String province; 
    
    @ApiModelProperty(value = "市")
    private String city; 
    
    @ApiModelProperty(value = "区")
    private String district; 
    
    @ApiModelProperty(value = "经度")
    private Double longitude; 
    
    @ApiModelProperty(value = "纬度")
    private Double latitude; 
    
    @ApiModelProperty(value = "上报id")
    private String reportId;
    
    @ApiModelProperty(value = "执行状态 0=已发布 1=待执行2=已执行3=已完成，发放奖励4=已失败，重新发布")
    private Integer currentStatus;
    @ApiModelProperty(value = "执行状态 0=已发布 1=待执行2=已执行3=已完成，发放奖励4=已失败，重新发布")
    private String currentStatusStr;
    
    @ApiModelProperty(value = "盯防奖励")
    private Integer rewards; 
    
    @ApiModelProperty(value = "隐患等级(0=一般问题1=一般隐患2=较大隐患3=重大隐患)")
    private Integer hiddenLevel;

    private String hiddenLevelStr;
    
    @ApiModelProperty(value = "领取人小程序ID")
    private String receiverAppletUserId;
    
    @ApiModelProperty(value = "领取时间(开始时间)")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date receiverTime; 
    
    @ApiModelProperty(value = "是否已经支付0:未支付1：已支付")
    private Integer payed; 
    
    @ApiModelProperty(value = "任务名称")
    private String taskName; 
    
    @ApiModelProperty(value = "任务要求")
    private String requirements; 
    
    @ApiModelProperty(value = "分管领导小程序ID")
    private String chargeLeaderAppletId; 
    
    @ApiModelProperty(value = "分管领导ID")
    private String chargeLeaderId; 
    
    @ApiModelProperty(value = "分管领导名称")
    private String chargeLeaderName; 

}
